cargo test
命令手册Execute the unit and integration tests of a Rust package. More information: https://doc.rust-lang.org/cargo/commands/cargo-test.html.
cargo test {{testname}}
cargo test -- --test-threads={{count}}
Cargo.lock
is up to date:cargo test --locked
cargo test --release
cargo test --workspace
cargo test --package {{package}}